home *** CD-ROM | disk | FTP | other *** search
/ Megahits 6 / Megahits 6 (1995)(GTI - Rhein-Main-Soft)(DE)(Disc 1 of 2)[!].iso / german_ungepackt / 181_210 / germ_181 / libs / exec.library < prev    next >
Text File  |  1995-07-15  |  4KB  |  121 lines

  1. ##base _SysBase
  2. ##bias 30
  3. ##private
  4. *------ special functions ---------------------------------------------
  5. Supervisor()
  6. ExitIntr()
  7. Schedule()
  8. Reschedule()
  9. Switch()
  10. Dispatch()
  11. Exception()
  12. ##public
  13. InitCode(startClass,version)(D0/D1)
  14. InitStruct(initTable,memory,size)(A1/A2,D0)
  15. MakeLibrary(funcInit,structInit,libInit,dataSize,codeSize)(A0/A1/A2,D0/D1)
  16. MakeFunctions(target,functionArray,funcDispBase)(A0,A1,A2)
  17. FindResident(name)(A1)
  18. InitResident(resident,segList)(A1,D1)
  19. Alert(alertNum,parameters)(D7,A5)
  20. Debug()
  21. *------ interrupts ----------------------------------------------------
  22. Disable()
  23. Enable()
  24. Forbid()
  25. Permit()
  26. SetSR(newSR,mask)(D0/D1)
  27. SuperState()
  28. UserState(sysStack)(D0)
  29. SetIntVector(intNumber,interrupt)(D0/A1)
  30. AddIntServer(intNumber,interrupt)(D0/A1)
  31. RemIntServer(intNumber,interrupt)(D0/A1)
  32. Cause(interrupt)(A1)
  33. *------ memory allocation: ---------------------------------------------
  34. Allocate(freeList,byteSize)(A0,D0)
  35. Deallocate(freeList,memoryBlock,byteSize)(A0/A1,D0)
  36. AllocMem(byteSize,requirements)(D0/D1)
  37. AllocAbs(byteSize,location)(D0/A1)
  38. FreeMem(memoryBlock,byteSize)(A1,D0)
  39. AvailMem(requirements)(D1)
  40. AllocEntry(entry)(A0)
  41. FreeEntry(entry)(A0)
  42. *------ lists: ---------------------------------------------------------
  43. Insert(list,node,pred)(A0/A1/A2)
  44. AddHead(list,node)(A0/A1)
  45. AddTail(list,node)(A0/A1)
  46. Remove(node)(A1)
  47. RemHead(list)(A0)
  48. RemTail(list)(A0)
  49. Enqueue(list,node)(A0/A1)
  50. FindName(list,name)(A0/A1)
  51. *------ tasks: ---------------------------------------------------------
  52. AddTask(task,initPC,finalPC)(A1/A2/A3)
  53. RemTask(task)(A1)
  54. FindTask(name)(A1)
  55. SetTaskPri(task,priority)(A1,D0)
  56. SetSignal(newSignals,signalSet)(D0/D1)
  57. SetExcept(newSignals,signalSet)(D0/D1)
  58. Wait(signalSet)(D0)
  59. Signal(task,signalSet)(A1,D0)
  60. AllocSignal(signalNum)(D0)
  61. FreeSignal(signalNum)(D0)
  62. AllocTrap(trapNum)(D0)
  63. FreeTrap(trapNum)(D0)
  64. *------ messages: ------------------------------------------------------
  65. AddPort(port)(A1)
  66. RemPort(port)(A1)
  67. PutMsg(port,message)(A0/A1)
  68. GetMsg(port)(A0)
  69. ReplyMsg(message)(A1)
  70. WaitPort(port)(A0)
  71. FindPort(name)(A1)
  72. *------ libraries: -----------------------------------------------------
  73. AddLibrary(library)(A1)
  74. RemLibrary(library)(A1)
  75. OldOpenLibrary(libName)(A1)
  76. CloseLibrary(library)(A1)
  77. SetFunction(library,funcOffset,funcEntry)(A1,A0,D0)
  78. SumLibrary(library)(A1)
  79. *------ devices: -------------------------------------------------------
  80. AddDevice(device)(A1)
  81. RemDevice(device)(A1)
  82. OpenDevice(devName,unit,ioRequest,flags)(A0,D0/A1,D1)
  83. CloseDevice(ioRequest)(A1)
  84. DoIO(ioRequest)(A1)
  85. SendIO(ioRequest)(A1)
  86. CheckIO(ioRequest)(A1)
  87. WaitIO(ioRequest)(A1)
  88. AbortIO(ioRequest)(A1)
  89. *------ resources: ----------------------------------------------------
  90. AddResource(resource)(A1)
  91. RemResource(resource)(A1)
  92. OpenResource(resName,version)(A1,D0)
  93. *------ new functions:
  94. ##private
  95. RawIOInit()
  96. RawMayGetChar()
  97. RawPutChar(char)(d0)
  98. RawDoFmt()(A0/A1/A2/A3)
  99. ##public
  100. GetCC()
  101. TypeOfMem(address)(A1);
  102. Procure(semaport,bidMsg)(A0/A1)
  103. Vacate(semaport)(A0)
  104. OpenLibrary(libName,version)(A1,D0)
  105. *------ 1.2 new semaphore support
  106. InitSemaphore(sigSem)(A0)
  107. ObtainSemaphore(sigSem)(A0)
  108. ReleaseSemaphore(sigSem)(A0)
  109. AttemptSemaphore(sigSem)(A0)
  110. ObtainSemaphoreList(sigSem)(A0)
  111. ReleaseSemaphoreList(sigSem)(A0)
  112. FindSemaphore(sigSem)(A0)
  113. AddSemaphore(sigSem)(A0)
  114. RemSemaphore(sigSem)(A0)
  115. *------ 1.2 rom "kickstart" support + memory support
  116. SumKickData()
  117. AddMemList(size,attributes,pri,base,name)(D0/D1/D2/A0/A1)
  118. CopyMem(source,dest,size)(A0/A1,D0)
  119. CopyMemQuick(source,dest,size)(A0/A1,D0)
  120. ##end
  121.